package com.wn.course.repository.data

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize

/**
 * @Author: wn
 * @Date: 2023/10/20 15:14
 * @Description: 课程中心 数据 model
 */
data class Daily(@SerializedName("items") val itemList: List<Item> = emptyList()) {
  @Parcelize
  data class Item(
    val id: Int,
    val name: String,
    val description: String,
    val owner: Owner,
  ) : Parcelable {
    @Parcelize
    data class Owner(@SerializedName("avatar_url") val avatarUrl: String) :
      Parcelable
  }
}
